﻿using ProjectManageSystemApi.Models;
using ProjectManageSystemApi.Models.BuildingSiteBillModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ProjectManageSystemApi.Services
{
    public interface IBuildingSiteBillServices
    {
        bool AddBillAndImages(AddBuildingSiteBillDto dto, long userId);
        bool UpdBillAndImages(UpdBuildingSiteBillDto dto);
        PageVo<List<BuildingSiteBillDto>> Get(PageBo<BuildingSiteBillParams> pageBo);
        bool DelBill(uint id);

        bool ReturnBack(BuildingSiteBillReturnDto dto, long userId);
        PageVo<List<BuildingSiteBillDto>> GetReturnBack(PageBo<BuildingSiteBillReturnBackParams> pageBo, long userId);
        bool ResetReturnBackById(ResetBuildingSiteBill data);
        bool ConfirmBillById(uint id, long userId);
        bool ExistBillNoById(string billNo, uint id = 0);
        bool ExistId(uint id);
    }
}
